#include "httplib.h"


std::string ip ="58.87.92.219";
#define SERVER_PORT 8080
int main()
{
    httplib::Client client(ip,SERVER_PORT);

    struct httplib::UploadFormData item;
    item.name = "file";
    item.filename = "hello.txt";
    item.content = "Hell0 World!";
    item.content_type = "test/plain";

    httplib::UploadFormDataItems items;
    items.push_back(item);

    httplib::Result res  = client.Post("/Multipart",items);


    std::cout << res->status<<std::endl;

    std::cout << res->body <<std::endl;


    return 0;
}